{include file=buyer.header.html}

<div class="content f-cb">
  {include file=path.html}
  {include file=member.menu.buyer.html}
  <!-- 内容右边栏 -->
  <div class="con-r-global">
    <dl class="con-notice" style="border:1px solid #ccc;">
      <dt>
        <ul class="receive-t f-cb">
          <li> <a href="{url app=buyer_returns}" class="current">申请</a> </li>
          <li> <a href="{url app=buyer_returns&act=record&returns_type=2}">退货退款记录</a> </li>
          <li> <a href="{url app=buyer_returns&act=record&returns_type=1}">退款记录</a> </li>
        </ul>
      </dt>
      <dd class="notice-panes" style="padding:20px;">
        <div>
        <!--{if $orders}-->
          <form action="" method="get" class="sales-return-search f-cb">
            <input type="hidden" value="buyer_returns" name="app">
            <input type="submit" value="查询" class="submit" />
            <input type="text"  class="txt"  name="order_sn" maxlength="30"  placeholder="输入订单号">
          </form>
          <!-- 申请 -->
          <table class="goods-show-th" width="100%">
            <tr>
              <th width="200" class="tht">订单编号</th>
              <th width="490" class="tht">订单商品</th>
              <th width="181">下单时间</th>
            </tr>
          </table>
          <!--{foreach from=$orders item=order}-->
          <table class="goods-show-each" width="100%">
            <tr>
              <td width="200" class="tht solid"><span class="sales-return-num">{$order.order_sn}</span></td>
              <td width="490" class="tht solid">
              <ul class="sales-return f-cb">
                  <!--{foreach from=$order.order_goods item=goods}-->
                  <li>
                    <div title="{$goods.goods_name|escape}"><img src="{$goods.goods_image}" alt="{$goods.goods_name|escape}" width="100" height="100" /></div>
                    <!--{if $goods.returns_id}--><!--{if $goods.returns_status eq 1 or $goods.returns_status  eq 3 or $goods.returns_status  eq 5 or $goods.returns_status  eq 6 or $goods.returns_status eq 7 }--><!--{if $goods.returns_type eq 1}--><div class="btnwrap"><a href="{url app=buyer_returns&act=view&returns_id=$goods.returns_id}" class="btn b-radius">退款中</a></div><!--{/if}--><!--{if $goods.returns_type eq 2}--><div class="btnwrap"><a href="{url app=buyer_returns&act=view&returns_id=$goods.returns_id}" class="btn b-radius">退货中</a></div><!--{/if}--><!--{else}--><div class="btnwrap"><a href="{url app=buyer_returns&act=view&returns_id=$goods.returns_id}" class="btn b-radius">详情</a></div><!--{/if}--><!--{else}--><div class="btnwrap"><a href="{url app=buyer_returns&act=add&rec_id=$goods.rec_id}" class="btn b-radius">申请</a></div><!--{/if}-->
                  </li>
                  <!--{/foreach}-->
                </ul>
               </td>
              <td width="181" class="solid" align="center">{$order.add_time|date:Y-m-d H:i:s}</td>
            </tr>
          </table>
          <!--{/foreach}-->
          <!-- 分页 -->
          <!--{if $page_info.page_count gt 1}--><div class="goods-page">{include file=goods.page.bottom.html}</div><!--{/if}-->
          <dl class="apply-tips">
							<dt><h5>温馨提示：</h5></dt>
							<dd>1，交易进行中，买家未收到商品、商品表面不一致、收到的商品与描述不符、商品存在质量问题产生争议的，买家应当在付款后，确认收货前的时限内提出申请。</dd>
							<dd>2，售后的时间段为交易完成15天内，收货后7天内买家可以申请退货，收货后15天内买家可以申请换货。</dd>
							<dd>3，商品超出售后服务时间，买家请直接联系万菱客服或卖家进行解决。</dd>
						</dl>
          <!--{else}-->
          <table width="100%" class="receive-table">
            <tr>
              <td class="member_no_records padding6">没有相关的数据</td>
            </tr>
          </table>
          <!--{/if}-->
        </div>
      </dd>
    </dl>
  </div>
</div>
{include file=footer.html} 